package com.kaisheng.service;

import java.util.List;

import com.kaisheng.dao.FileDao;
import com.kaisheng.entity.MyFile;

public class FileService {
	FileDao fd = new FileDao();
	public List<MyFile> findByFilesId(String filesId) {
		return fd.findByFilesId(filesId);
	}
	public boolean save(MyFile myfile) {
		return fd.save(myfile);
	}
	public MyFile findByFilename(String filename) {
		return fd.findByFilename(filename);
	}
	public boolean del(String filename) {
		return fd.del(filename);
		
	}

}
